﻿CREATE FUNCTION [dbo].[clr_Distance]
(@Lat1 FLOAT, @Lon1 FLOAT, @Lat2 FLOAT, @Lon2 FLOAT, @EarthRadius FLOAT)
RETURNS FLOAT
AS
 EXTERNAL NAME [Library].[UserDefinedFunctions].[clr_Distance]


GO
EXECUTE sp_addextendedproperty @name = N'AutoDeployed', @value = N'yes', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'FUNCTION', @level1name = N'clr_Distance';


GO
EXECUTE sp_addextendedproperty @name = N'SqlAssemblyFile', @value = N'Rate.cs', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'FUNCTION', @level1name = N'clr_Distance';


GO
EXECUTE sp_addextendedproperty @name = N'SqlAssemblyFileLine', @value = 189, @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'FUNCTION', @level1name = N'clr_Distance';

